<template>
  <div class="userMaIndex">
    <userHeader/>
    <!--<div class="breadClum">-->
      <!--<span>-->
        <!--<router-link :to="{path:'/pageIndex'}"><a class="bread1">当前位置：首页  >  </a></router-link>-->
        <!--<router-link :to="{path:'/controlBuild'}"> <a class="bread2">内控建设  ></a></router-link>-->
        <!--<a class="bread2">资料分类</a>-->
      <!--</span>-->
    <!--</div>-->
    <router-view></router-view>
  </div>
</template>

<script>
  import userHeader from '@/components/header.vue'
  import {mapState} from 'vuex'

  export default ({
    components: {
      userHeader,
    },
    data() {
      return {
        companyList:'公司列表',
        classificationList:'资料分类',
        classificationByCon2:'二级分类',
        classificationByCon3:'三级分类',
        page:1,
        limit:10,
        pages:1,
        dataList:null,
        addDataIng:false,
        addDataForm:{}
      }
    },
    computed: {
      ...mapState({
        company_names: state => state.app.loginState.company_name || localStorage.getItem('company_name'),
        company_ids: state => state.app.loginState.company_id || localStorage.getItem('company_id')
      }),
    },
    methods: {
      addData(){
        this.addDataIng = true
      },
      editData(){
        this.$router.push({
          path:'/controlBuild/classificationList'
        })
      },
      handleCurrentChange(val) {
        console.log(val);
        this.page = val;
        // this.getTableDataByCondition(this.handleStaffId,this.operationPeriodFormat,this.limit,this.currentPage)


      },
      uploadSuccess(response, file, fileList, index) {

      },
    }
  })
</script>
<style scoped="">
  .userMaIndex {
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
  }

  .userMaIndex .navList{
    padding-bottom:12px;
    margin-bottom:12px;
  }

  .userMaIndex .el-table >>> th.is-leaf {
    background: #d3e9bb;
    height: 58px;
  }

  .arrow{
    display: inline-block;
    width: 17px;
    height:15px;
    margin-left:4px;
    border-radius:4px;
    position: relative;
  }
  .arrow::after{
    content:'';
    display: block;
    width:100%;
    height:100%;
    position: absolute;
    left:0;
    top:2px;
    background: #afd682 url("../../static/images/icon-down.png") no-repeat center;
  }

  .userMaIndex .e-table-footer {
    background: #d3e9bb;
    height: 50px;
    line-height: 50px;
    border-bottom: 1px solid #aac983;
    border-right: 1px solid #aac983;
  }

  .userMaIndex .e-table-footer .e-selectAll {
    width: 55px;
    text-align: center;
    border-left: 1px solid #aac983;
    border-right: 1px solid #aac983;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: inline-block;
  }

  .userMaIndex .e-table-footer .e-selectText {
    display: inline-block;
    margin-left: 20px;
    color: #5d9120;
  }

  .userMaIndex .e-selectText .e-del {
    font-size: 16px;
    color: #fff;
    padding: 6px 20px;
    background: #f56c6c;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    margin-left: 30px;
    cursor: pointer;

  }
  .file-uploader .upload-button{
    background:#769dd6;
    color:#fff;
    border-color:#769dd6;
  }



</style>
